<%-- 
    Document   : accueil
    Created on : 26 sept. 2012, 00:17:37
    Author     : Thomas
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<c:import url="header.jsp"/>

<div id="header"><div id="visuel"><p>Gestion des colloques</p></div></div>
<div id="conteneur">
    <div id="contenu">
        <c:if test="${!empty colloques}">
            <table class="table">
                <thead>
                <th>Colloque</th>
                <th>Date</th>
                <th>Description</th>

                </thead>
                <tbody>
                    <c:forEach var="colloque" items="${colloques}">
                        <tr>
                            <td><a href="CreerExpose?colloqueid=${colloque.colloqueid}">${colloque.colloquenom} </td>
                            <td>${colloque.colloquedateevaluation}</td>
                            <td>${colloque.colloquedescription}</a></td>
                        </tr>
                    </c:forEach>

                </tbody>
            </table>
        </c:if>
        <c:if test="${!empty colloque}">
            <form id="enrgresume" method="post" action="CreerExpose" class="form-horizontal">
                <legend>Soumettre un Exposé</legend>
                <div class="control-group">
                    <label class="control-label">Thème Exposé ( 3 mots clés max)</label>
                    <div class="controls">
                        <!--  Generer un java pour chaque valeur du option-->
                        <c:forEach var="motcle1" items="${colloque.motcles}">
                            <label class="checkbox inline"> <input class="check" type="checkbox" value="${motcle1.motcleid}" name="mc1" onclick="javascript:clicCB();">${motcle1.motclelabel}</input></label>
                            </c:forEach>
                    </div></div>
                <div class="control-group">
                    <label class="control-label">Résumé de l'exposé</label>
                    <div class="controls"><TEXTAREA Name="resume" rows="5" style="width:400px" required></TEXTAREA></div>
                </div>
                <div class="form-actions">
                    <input type="submit" value="Enregistrer" class="btn btn-primary" />
                </div>
                <input type="hidden" name="colloqueid" value="<c:out value="${colloque.colloqueid}"/>"/>
            </form>
        </c:if>
    </div>
</div>


<c:import url="footer.jsp"/>

